$(function(){
	ownerSelector("beanownerid");
	$("#saveBtn").bind("click",function(){
		var data = $("form#beanform").serialize();
		doSubmit("preparedsparepart/prepared-spare-part!create",data,function(){
	    	$("form#beanform").get(0).reset();
	    	alert("备件信息已经上报");
	    });
	});
});